package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.PieBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * 销售统计mapper接口
 */
@Mapper
public interface IPieMapper extends BaseMapper<PieBean> {
    public List<PieBean> findClassesSale(@Param("startDate") LocalDate startDate, @Param("endDate") LocalDate endDate);

    public List<PieBean> findBrandClassesSale(@Param("startDate") LocalDate startDate,@Param("endDate") LocalDate endDate);
}
